package top.frsf.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import top.frsf.common.annotation.Excel;
import top.frsf.common.core.domain.BaseEntity;

/**
 * 设备类型对象 tb_equipment_maintenance
 * 
 * @author ruoyi
 * @date 2025-09-12
 */
public class TbEquipmentMaintenance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 维保码 */
    @Excel(name = "维保码")
    private String maintenanceCode;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 区 */
    @Excel(name = "区")
    private String district;

    /** 姓名 */
    @Excel(name = "姓名")
    private String userName;

    /** 手机 */
    @Excel(name = "手机")
    private String mobile;

    /** 用途 */
    @Excel(name = "用途")
    private String purpose;

    /** 设备功率 */
    @Excel(name = "设备功率")
    private String equipmentPower;

    /** 安装照片 */
    @Excel(name = "安装照片")
    private String installPhotoUrl;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMaintenanceCode(String maintenanceCode) 
    {
        this.maintenanceCode = maintenanceCode;
    }

    public String getMaintenanceCode() 
    {
        return maintenanceCode;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setDistrict(String district) 
    {
        this.district = district;
    }

    public String getDistrict() 
    {
        return district;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setPurpose(String purpose) 
    {
        this.purpose = purpose;
    }

    public String getPurpose() 
    {
        return purpose;
    }
    public void setEquipmentPower(String equipmentPower) 
    {
        this.equipmentPower = equipmentPower;
    }

    public String getEquipmentPower() 
    {
        return equipmentPower;
    }
    public void setInstallPhotoUrl(String installPhotoUrl) 
    {
        this.installPhotoUrl = installPhotoUrl;
    }

    public String getInstallPhotoUrl() 
    {
        return installPhotoUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("maintenanceCode", getMaintenanceCode())
            .append("province", getProvince())
            .append("city", getCity())
            .append("district", getDistrict())
            .append("userName", getUserName())
            .append("mobile", getMobile())
            .append("purpose", getPurpose())
            .append("equipmentPower", getEquipmentPower())
            .append("installPhotoUrl", getInstallPhotoUrl())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
